

<div class="col-sm-12 mt20" >
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row">
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.name" placeholder="企业名称">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened"
                ng-click="dateOpen($event, date)" placeholder="开始时间" ng-required="true"  close-text="关闭" current-text="今天" clear-text="清除"  readonly/>
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable1" is-open="date.opened1"
                ng-click="dateOpen1($event, date)" placeholder="结束时间" ng-required="true" close-text="关闭" current-text="今天" clear-text="清除" readonly/>						
        </div>
        <div class="col-sm-2">
            <select class="form-control" ng-model="searchform.is_publicity">
                <option value="">全部</option>
                <option value="1">公示</option>
                <option value="0">不公示</option>
            </select>
        </div>
        <div class="col-sm-2 pull-right">
            <button class="btn btn-block btn-info" ng-click='load()'>立即搜索</button>
        </div>
    </div>

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <div class="table-responsive">
        <table class="table table-condensed table-hover table-bordered">
            <table class="table table-hover table-bordered">
            <thead>
              <tr>
                <th class="col-md-3 text-center">企业名称</th>
                <th class="col-md-2 text-center">企业类型</th>
                <!-- <th class="col-md-1 text-center">企业法人</th> -->
                <th class="col-md-2 text-center">企业注册资金</th>
                <th class="col-md-1 text-center">备案状态</th>
                <th class="col-md-1 text-center">企业状态</th>
                <th class="col-md-2 text-center">操作</th>
              </tr>
            </thead>
            <tbody>
              <tr ng-repeat="obj in objs">
                <td class="">{{obj.name}}</td>
                <td class="text-center">{{obj.company_type}}</td>
                <!-- <td class="text-center">{{obj.juridical_person}}</td> -->
                <td class="text-center">{{obj.registered_capital}}</td>
                <td class="text-center">
                    <span ng-show="obj.record_type==0" class="form-control-static">申请中</span>
                    <span ng-show="obj.record_type==1" class="form-control-static">生效中</span>
                    <span ng-show="obj.record_type==2" class="form-control-static">过期</span>
                    <span ng-show="obj.record_type==3" class="form-control-static">变更中</span>
                </td>
                <td class="text-center">
                    <span ng-show="obj.is_publicity==0" class="form-control-static">不公示</span>
                    <span ng-show="obj.is_publicity==1" class="form-control-static">公示</span>
                </td>
                <td class="text-center">
                  <a ng-click="setup(obj)" class="btn btn-success btn-xs" ng-show="obj.record_type==1">设置</a>
                  <a ng-click="applyupdate(obj.id)" class="btn btn-danger btn-xs" ng-show="obj.record_type==1">撤销</a>
                  <a ng-click="info(obj)" class="btn btn-info btn-xs">企业详情</a>
                </td>
              </tr>
            </tbody>
        </table>
        
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>



